package com.tancire.works.service;

import java.util.List;
import com.tancire.works.domain.SideWorkEnroll;

/**
 * 兼职报名Service接口
 *
 * @author tancire
 * @date 2024-03-11
 */
public interface ISideWorkEnrollService {
    /**
     * 查询兼职报名
     *
     * @param id 兼职报名主键
     * @return 兼职报名
     */
    SideWorkEnroll selectSideWorkEnrollById(Long id);

    /**
     * 查询兼职报名列表
     *
     * @param sideWorkEnroll 兼职报名
     * @return 兼职报名集合
     */
    List<SideWorkEnroll> selectSideWorkEnrollList(SideWorkEnroll sideWorkEnroll);

    /**
     * 新增兼职报名
     *
     * @param sideWorkEnroll 兼职报名
     * @return 结果
     */
    int insertSideWorkEnroll(SideWorkEnroll sideWorkEnroll);

    /**
     * 修改兼职报名
     *
     * @param sideWorkEnroll 兼职报名
     * @return 结果
     */
    int updateSideWorkEnroll(SideWorkEnroll sideWorkEnroll);

    /**
     * 批量删除兼职报名
     *
     * @param ids 需要删除的兼职报名主键集合
     * @return 结果
     */
    int deleteSideWorkEnrollByIds(Long[] ids);

    /**
     * 删除兼职报名信息
     *
     * @param id 兼职报名主键
     * @return 结果
     */
    int deleteSideWorkEnrollById(Long id);
}
